package com.kkwrite.regimen.common.entity.dto.user;

import com.kkwrite.regimen.common.entity.dto.BaseDTO;

/**
 * Created by lisha on 2018/7/11 21:25.
 *
 * @author lisha
 */
public class RegUserDTO extends BaseDTO {
    private static final long serialVersionUID = 1909091561820926048L;

    private Integer userId;
    private String account;
    private String phoneNum;
    private String email;
    private String openId;
    private String nickName;
    private String usernameCn;
    private String usernameEn;
    private String password;
    private Integer userType;
    private Integer userLevel;
    private Integer userScore;
    private Integer deleted;
    private Integer inviteFlag;
    private Long inviterId;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getUsernameCn() {
        return usernameCn;
    }

    public void setUsernameCn(String usernameCn) {
        this.usernameCn = usernameCn;
    }

    public String getUsernameEn() {
        return usernameEn;
    }

    public void setUsernameEn(String usernameEn) {
        this.usernameEn = usernameEn;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public Integer getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(Integer userLevel) {
        this.userLevel = userLevel;
    }

    public Integer getUserScore() {
        return userScore;
    }

    public void setUserScore(Integer userScore) {
        this.userScore = userScore;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Integer getInviteFlag() {
        return inviteFlag;
    }

    public void setInviteFlag(Integer inviteFlag) {
        this.inviteFlag = inviteFlag;
    }

    public Long getInviterId() {
        return inviterId;
    }

    public void setInviterId(Long inviterId) {
        this.inviterId = inviterId;
    }

    @Override
    public String toString() {
        return "RegUserDTO{" +
                "userId=" + userId +
                ", account='" + account + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                ", email='" + email + '\'' +
                ", openId='" + openId + '\'' +
                ", nickName='" + nickName + '\'' +
                ", usernameCn='" + usernameCn + '\'' +
                ", usernameEn='" + usernameEn + '\'' +
                ", password='" + password + '\'' +
                ", userType=" + userType +
                ", userLevel=" + userLevel +
                ", userScore=" + userScore +
                ", deleted=" + deleted +
                ", inviteFlag=" + inviteFlag +
                ", inviterId=" + inviterId +
                '}' + "; " + super.toString();
    }

}
